package com.ying.dogying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李华明
 * @since 2020-06-05
 */
@TableName("im_comment")
public class ImComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 评论的内容
     */
    @TableField("CONTENT")
    private String content;

    /**
     * 回复的评论ID
     */
    @TableField("PARENT_ID")
    private Long parentId;

    /**
     * 评论的文章ID
     */
    @TableField("POST_ID")
    private Long postId;

    /**
     * 评论的用户ID
     */
    @TableField("USER_ID")
    private Long userId;

    /**
     * “顶”的数量
     */
    @TableField("VOTE_UP")
    private Integer voteUp;

    /**
     * “踩”的数量
     */
    @TableField("VOTE_DOWN")
    private Integer voteDown;

    /**
     * 置顶等级
     */
    @TableField("LEVEL")
    private Integer level;

    /**
     * 评论的状态
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 评论的时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 评论的更新时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getPostId() {
		return postId;
	}

	public void setPostId(Long postId) {
		this.postId = postId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getVoteUp() {
		return voteUp;
	}

	public void setVoteUp(Integer voteUp) {
		this.voteUp = voteUp;
	}

	public Integer getVoteDown() {
		return voteDown;
	}

	public void setVoteDown(Integer voteDown) {
		this.voteDown = voteDown;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
